package com.lzz.bottomencapsulation.net;

/**
 * 网络请求返回值
 *
 * @param <T>
 */
public class HttpRequest<T> {
    //    错误标识
    private String code;
    //    内容
    private String msg;

    private String error_description;

    //    数据
    private T data;

    private String download_address;

    private String version;

    public String getErrno() {
        return code;
    }

    public String getErrmsg() {
        return msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getError_description() {
        return error_description;
    }

    public String getDownload_address() {
        return download_address;
    }

    public String getVersion() {
        return version;
    }
}
